home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 6.6 KB | 258 lines | [TEXT/MPS ] |
- /*
- File: FSM.idl
-
- Contains: HFS External File System Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __FSM_IDL__
- #define __FSM_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- #if OLDROUTINELOCATIONS
- /*
- * gestaltFSMVersion should be in Gestalt.h
- *
- * VCBPtr, new volume mount flags, and VolumeMountInfoHeader
- * should be in Files.h
- */
- /* The new volume mount flags */
- /*
- * additional volume mount info record
- */
- typedef SOMLargeStruct VolumeMountInfoHeader; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr VolumeMountInfoHeaderPtr; /* Substituted OpaquePtr for “VolumeMountInfoHeader*” */
-
- typedef OpaquePtr VCBPtr; /* Substituted OpaquePtr for “VCB*” */
-
- #endif
- /*
- * Miscellaneous file system values not in Files.h
- */
- /*
- * HFSCIProc selectCode values
- * Note: The trap attribute bits (the HFS bit and the asynchronous bit)
- * may be set in these selectCode values.
- */
- /*
- * UTDetermineVol status values
- */
- /*
- * UTGetBlock options
- */
- /*
- * UTReleaseBlock options
- */
- /*
- * UTFlushCache options
- */
- /*
- * UTCacheReadIP and UTCacheWriteIP cacheOption
- */
- /*
- * Cache routine internal error codes
- */
- /*
- * FCBRec.fcbFlags bits
- */
- /*
- * ExtFileProc options
- */
- /*
- * HFS Component Interface constants
- */
- /*
- * compInterfMask bits specific to HFS component
- */
- /*
- * Disk Initialization Component Interface constants
- */
- /*
- * compInterfMask bits specific to Disk Initialization component
- */
- /*
- * Disk Initialization Component Function selectors
- */
- /*
- * Constants used in the DICIEvaluateSizeRec and FormatListRec
- */
- /*
- * DICIGetFormatStringRec.stringKind format strings
- */
- /*
- * Error codes returned by Disk Sparing
- */
- /*
- * File System Manager constants
- */
- /*
- * Miscellaneous constants used by FSM
- */
- /*
- * compInterfMask bits common to all FSM components
- */
- /*
- * Selectors for GetFSInfo
- */
- /*
- * InformFSM messages
- */
- /*
- * Messages passed to the fileSystemCommProc
- */
- /*
- * Error codes from FSM functions
- */
- /*
- * HFS Utility routine records
- */
- /*
- * record used by UTGetPathComponentName
- */
- typedef SOMLargeStruct ParsePathRec; /* Derived from a struct of 10 bytes in size */
-
- typedef OpaquePtr ParsePathRecPtr; /* Substituted OpaquePtr for “ParsePathRec*” */
-
- typedef SOMLargeStruct WDCBRec; /* Derived from a struct of 16 bytes in size */
-
- typedef OpaquePtr WDCBRecPtr; /* Substituted OpaquePtr for “WDCBRec*” */
-
- typedef SOMLargeStruct FCBRec; /* Derived from a struct of 94 bytes in size */
-
- typedef OpaquePtr FCBRecPtr; /* Substituted OpaquePtr for “FCBRec*” */
-
- /*
- * HFS Component Interface records
- */
- typedef OpaquePtr Lg2PhysProcPtr;
- typedef OpaquePtr Lg2PhysUPP;
- typedef OpaquePtr HFSCIProcPtr;
- typedef OpaquePtr HFSCIUPP;
- typedef SOMLargeStruct HFSCIRec; /* Derived from a struct of 40 bytes in size */
-
- typedef OpaquePtr HFSCIRecPtr; /* Substituted OpaquePtr for “HFSCIRec*” */
-
- /*
- * Disk Initialization Component Interface records
- */
- typedef OpaquePtr DICIProcPtr;
- typedef OpaquePtr DICIUPP;
- typedef SOMLargeStruct DICIRec; /* Derived from a struct of 24 bytes in size */
-
- typedef OpaquePtr DICIRecPtr; /* Substituted OpaquePtr for “DICIRec*” */
-
- /*
- * FormatListRec as returned by the .Sony disk driver's
- * Return Format List status call (csCode = 6).
- * If the status call to get this list for a drive is not
- * implemented by the driver, then a list with one entry
- * is contructed from the drive queue element for the drive.
- */
- typedef SOMLargeStruct FormatListRec; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr FormatListRecPtr; /* Substituted OpaquePtr for “FormatListRec*” */
-
- /*
- * SizeListRec built from FormatListRecs as described above.
- */
- typedef SOMLargeStruct SizeListRec; /* Derived from a struct of 10 bytes in size */
-
- typedef OpaquePtr SizeListRecPtr; /* Substituted OpaquePtr for “SizeListRec*” */
-
- /*
- * paramBlock for the diCIEvaluateSize call
- */
- typedef SOMLargeStruct DICIEvaluateSizeRec; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr DICIEvaluateSizeRecPtr; /* Substituted OpaquePtr for “DICIEvaluateSizeRec*” */
-
- /*
- * paramBlock for the diCIExtendedZero call
- */
- typedef SOMLargeStruct DICIExtendedZeroRec; /* Derived from a struct of 28 bytes in size */
-
- typedef OpaquePtr DICIExtendedZeroRecPtr; /* Substituted OpaquePtr for “DICIExtendedZeroRec*” */
-
- /*
- * paramBlock for the diCIValidateVolName call
- */
- typedef SOMLargeStruct DICIValidateVolNameRec; /* Derived from a struct of 10 bytes in size */
-
- typedef OpaquePtr DICIValidateVolNameRecPtr; /* Substituted OpaquePtr for “DICIValidateVolNameRec*” */
-
- /*
- * paramBlock for the diCIGetVolTypeInfo call
- */
- typedef SOMLargeStruct DICIGetVolTypeInfoRec; /* Derived from a struct of 136 bytes in size */
-
- typedef OpaquePtr DICIGetVolTypeInfoRecPtr; /* Substituted OpaquePtr for “DICIGetVolTypeInfoRec*” */
-
- /*
- * paramBlock for the diCIGetFormatString call
- */
- typedef SOMLargeStruct DICIGetFormatStringRec; /* Derived from a struct of 266 bytes in size */
-
- typedef OpaquePtr DICIGetFormatStringRecPtr; /* Substituted OpaquePtr for “DICIGetFormatStringRec*” */
-
- /*
- * paramBlock for the diCIGetExtendedFormatParams call
- */
- typedef SOMLargeStruct DICIGetExtendedFormatRec; /* Derived from a struct of 18 bytes in size */
-
- typedef OpaquePtr DICIGetExtendedFormatRecPtr; /* Substituted OpaquePtr for “DICIGetExtendedFormatRec*” */
-
- /*
- * File System Manager records
- */
- typedef OpaquePtr FSDCommProcPtr;
- typedef OpaquePtr FSDCommUPP;
-
-
- typedef SOMLargeStruct FSDRec; /* Derived from a struct of 196 bytes in size */
-
- typedef OpaquePtr FSDRecPtr; /* Substituted OpaquePtr for “FSDRec*” */
-
- typedef SOMLargeStruct FSMGetIconInfoRec; /* Derived from a struct of 512 bytes in size */
-
- typedef OpaquePtr FSMGetIconInfoRecPtr; /* Substituted OpaquePtr for “FSMGetIconInfoRec*” */
-
- /*
- * paramBlock for ffsGetIconMessage and fsmGetFSIconMessage
- */
- typedef SOMLargeStruct FSMGetIconRec; /* Derived from a struct of 28 bytes in size */
-
- typedef OpaquePtr FSMGetIconRecPtr; /* Substituted OpaquePtr for “FSMGetIconRec*” */
-
- /*
- * HFS Utility routine prototypes
- */
- /*
- * File System Manager call prototypes
- */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __FSM_IDL__ */
-
-